﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TimetableSystem.Model
{
    /// <summary>
    /// A model object representing a Module
    /// </summary>
    public class Module
    {
        public Module(Guid moduleId, int academicYear, Semester semester, string title, string moduleCode, string description)
        {
            ModuleId = moduleId;
            AcademicYear = academicYear;
            Semester = semester;
            Title = title;
            ModuleCode = moduleCode;
            Description = description;
        }

        public Guid ModuleId { get; set; }
        public string Title { get; set; }
        public string ModuleCode { get; set; }
        public string Description { get; set; }
        public Semester Semester { get; set; }
        public int AcademicYear { get; set; }
        public List<Exam> Exams { get; set; }
        public List<Coursework> Courseworks { get; set; }
        public List<Lesson> Lessons { get; set; }
    }
}
